<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button class="button">点我试试</button>
</body> 
</html>
<style>
    button{
        width:160px;
        height:80px;
        color:rgb(59, 153, 182);
        font-size:24px;
        background: #000;
        border:none;
        outline: none;
        z-index: 1;
        border-radius: 10px;
        cursor:pointer;
        position: relative;
        overflow: hidden;
    }

    button::before{
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200%;
        height: 200%;
        background: #896dd69c;
        z-index: -2;
        animation: glow 3s linear infinite;
        transform-origin: left top;
    }

    button::after{
        content: '';
        position: absolute;
        inset: 4px;
        background: #000;
        border-radius: 10px;
        z-index: -1;
        border-radius:inherit;
    }

    @keyframes glow {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
</style>